package com.dg.cuckoo.admin.service;

import com.dg.cuckoo.admin.dto.earlyProject.EarlyProjectDto;
import com.dg.cuckoo.admin.dto.earlyProject.TwoEarlyProjectDto;
import com.dg.cuckoo.common.utils.PageModel;
import org.springframework.web.multipart.MultipartFile;

public interface DesignApprovalService  {

    void save(String projectId, TwoEarlyProjectDto dto, MultipartFile[] files) throws Exception;

    void powerfulSave(String projectId, TwoEarlyProjectDto dto, MultipartFile[] files, Integer type) throws Exception;

    void delect(String id);

    PageModel powerfulPage(Integer page, Integer pageSize, String projectId, Integer type);

    PageModel page(Integer page, Integer pageSize,String projectId);

    void powerfulUpdate(String id, String projectId, MultipartFile[] files, TwoEarlyProjectDto dto, Integer type) throws Exception;

    void update(String id,String projectId,MultipartFile[] files,TwoEarlyProjectDto dto) throws Exception;

    String openContentInfo(String id);

    String openInfo(String id);
}
